package com.lhj.xxsc.seckill;

import com.xxsc.common.config.XxscSessionConfig;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.context.annotation.Import;
import org.springframework.session.data.redis.config.annotation.web.http.EnableRedisHttpSession;

@EnableFeignClients
@EnableDiscoveryClient
@SpringBootApplication(exclude = {DataSourceAutoConfiguration.class})
@Import(XxscSessionConfig.class)
@EnableRedisHttpSession
public class XxscSeckillApplication {
	public static void main(String[] args) {
		SpringApplication.run(XxscSeckillApplication.class, args);
	}
}
